use error::AppErr;


mod error;
mod web;
mod store;
mod cfg;
mod utils;

#[actix_web::main]
async fn main() -> Result<(), AppErr> {
    cfg::init().await?;
    store::init().await?;
    web::init().await?;

    Ok(())
}
